<%@ page language="java" pageEncoding="ISO-8859-1"%>

<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-template" prefix="template" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-nested" prefix="nested" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html locale="true">
  <head>
    <html:base />
    
    <title>sphome.jsp</title>

	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	
  </head>
  
  <body bgcolor="pink">
     <%
   
    Object ob=request.getAttribute("DD");
    if(ob!=null )
    {
   
    Object ob1=session.getAttribute("NM");
    Object ob2=session.getAttribute("PO");
    //Object ob3=ss.getAttribute("PH");
    Object ob4=session.getAttribute("UD");
    
    
    out.print("<font size=7>welcome "+ob1.toString()+"</font>");
   
     %>
      <table><tr><td><a href="<%=request.getContextPath()%>/apsa.do?apsp=addpst">Add Police Station</a></td></tr>
      <tr><td><a href="<%=request.getContextPath()%>/apsa.do?apsp=addpdiiccode">Generate PoliceDist IIC Code</a></td></tr>
      <tr><td><a href="<%=request.getContextPath()%>/apsa.do?apsp=setcp">Change password</a></td></tr>
      <tr><td><a href="<%=request.getContextPath()%>/pdiicappc.do?pdiicap=pdiicapr">Approve to policedistIIC</a></td></tr>
      <tr><td><a href="<%=request.getContextPath()%>/apca.do?apcp=addpstlcod">Add postal code</a></td></tr>
      <tr><td><a href="<%=request.getContextPath()%>/peria.do?perip=psperiform">Add Police station peripheral</a></td></tr>
      <tr><td><a href="<%=request.getContextPath()%>/spviewFIR.do?spviewfp=spviewfirlink">VIEW FIR</a></td></tr>
       <tr><td><a href="<%=request.getContextPath()%>/apda.do?apdp=logoutpg">Logout</a></td></tr>
    <%
    
    } %>
    </table>
   
  </body>
</html:html>
